package pcsr.hwVirtualization;

/**
 * This interface defines the contract and requirements needed to subscribe 
 * notifications about a driver operating in a asynchronous manner.
 * 
 * @author Paulo Fagundes
 *
 */
public interface IRobotDriverObserver {

	/**
	 * Method called when a driver notifies a change on a Sensor.
	 * 
	 * @param newSensorStatus
	 * The new status of the sensor.
	 */
	void SensorChanged( final Sensor newSensorStatus );
	
	/**
	 * Method called when a driver notifies a change on an Actuator.
	 * 
	 * @param newActuatorStatus
	 * The new status of the actuator.
	 */
	void ActuatorChanged( final Actuator newActuatorStatus );
	
	
}
